class_name GameState_Gaming
extends GameState

#region 属性
#endregion
#region 字段
#endregion
#region 信号
#endregion

#region 基类方法
func state_init(fsm:FSM):
	super.state_init(fsm)
func on_enter(from_state:State):
	super.on_enter(from_state)
func on_update(delta:float):
	super.on_update(delta)
	if Input.is_action_just_pressed("UI_Pause"):
		GameUISystem.view_manager.open_view(GameEnum.ViewType.PausingView)
	if Input.is_action_just_pressed("Switch"):
		GameUISystem.view_manager.open_view(GameEnum.ViewType.CircleBtnView)
	if Input.is_action_just_pressed("ComboView"):
		GameUISystem.view_manager.open_view(GameEnum.ViewType.ComboView)
func on_physics_update(delta:float):
	super.on_physics_update(delta)
func on_exit(to_state:State):
	super.on_exit(to_state)
func get_state_status() -> GameEnum.StateStatus:
	return super.get_state_status()
func translate_state(st_state:State,to_state:State,st_state_path:Array[State],to_state_path:Array[State]):
	super.translate_state(st_state,to_state,st_state_path,to_state_path)
#endregion
#region 公共方法
#endregion
#region 私有方法
#endregion
#region 生命周期函数
#endregion

